WindowPrint SUB Action Prints text, in the style specified, in the current window at the position established by WindowLocate. Syntax WindowPrint style%, text$ Remarks The WindowPrint procedure uses the following arguments. style% ------ An integer that indicates the style of the text to be displayed. Possible values for style% and their significance are described as follows. Value Significance 1 Truncated printing. If text is longer than the window, it is truncated. The text cursor is moved to the first character of the next line. The window is scrolled, if necessary. 2 Character wrapping. If text is longer than the window, the text continues on the next line, scrolling if necessary. The text cursor is moved to the first character on the next line, scrolling if necessary. 3 Text wrapping. Same as style 2 except that text is wrapped only at spaces. 4 Truncated centering. Text is centered on the current line. If text is too long, it is truncated. -1 Same as style 1 except, after printing, text cursor is positioned immediately following the last character printed. -2 Same as style 2 except, after printing, text cursor is positioned immediately following the last character printed. -3 Same as style 3 except, after printing, text cursor is positioned immediately following the last character printed. text$ ----- A string that contains the text to be displayed in the window. Use WindowPrint whenever you want to display text in a window. See Also. WindowLocate Example See the DemoWindow procedure in the code example UIDEMO.BAS for a specific implementation.